package com.ljn.mapper;

import com.ljn.core.dto.Teacher;
import org.springframework.stereotype.Component;

@Component
public interface TeacherMapper {

    int insertUser(Teacher record);

    int insertTeacher(Teacher record);

    Teacher findUserByUsername(String userName);

    Teacher findTeacherById(String userId);

    int updateByPrimaryKeySelective(Teacher teacher);

    int updateByPrimaryKeySelectiveUser(Teacher teacher);
}